package unidad4;

public class VehicleLeasing {

	public static void main(String [] args)throws Exception{

		System.out.println("Vehicle Leasing"+"\n"+"Please select a Type of Car"+"\n"+
				"C - Carpool"+"\n"+
				"F - Family"+"\n"+
				"S - Sport"+"\n");

		System.out.println("Please select a Load Type"+"\n"+
				"G - 10 - 16 passengers"+"\n"+
				"F - 8 - 10 passengers"+"\n"+
				"D - 4 - 6 passengers"+"\n"+
				"C - 3 - 4 passengers"+"\n"+
				"B - 2 - 3 passengers"+"\n"+
				"A - 1 - 2 passengers"+"\n");

		char tVehicle = (char)System.in.read();
		System.in.read();
		System.in.read();
		char tLoad = (char)System.in.read();
		System.in.read();

		if(tVehicle == 'C'){

			switch (tLoad){

			case 'G':{

				System.out.println("BlueBird MiniBus");
				break;
			}

			case 'F':{

				System.out.println("Dodge Ram Van");
				break;
			}

			case 'E':{

				System.out.println("Ford WindStar");
				break;
			}

			default:{

				System.out.println("There inst' Load for this model");

			}

			}		
		}else if (tVehicle == 'F'){

			switch (tLoad){

			case 'D':{

				System.out.println("Pontiac GrandPrix");
				break;
			}

			case 'C':{

				System.out.println("Ford ThunderBird");
				break;

			}

			default:{

				System.out.println("There isnt' Load for this model");
			}

			}


		}else if(tVehicle == 'S'){

			switch (tLoad){


			case 'B':{

				System.out.println("Ford Mustang");
				break;				 

			}

			case 'A':{

				System.out.println("Dodge Viper");
				break;
			}

			default:{

				System.out.println("There isnt' Load for this model");
			}

			} 
		}else{

			System.out.println("THE TYPE IS INVALID");
		}




	}


}
